/*
package com.its.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.its.manager.pojo.Permission;

import java.util.List;

*/
/**
* @author lenovo
* @description 针对表【gym_permission】的数据库操作Service
* @createDate 2025-04-15 23:33:47
*//*

public interface PermissionService extends IService<Permission> {
    //新增权限
    int addPermissionService(Permission permission);
    //修改权限
    int updatePermissionService(Permission permission);
    //删除权限
    int deletePermissionService(Long pid);
    //根据Id查询权限
    Permission selectPermissionByIdService(Long pid);
    //分页查询权限
    Page<Permission> selectPermissionByPageService(Integer page, Integer size);
    //查询所有权限
    List<Permission> getAllPermissionService();
}
*/
